import request from '@/request'

export function getCheckCode(email) {
  return request({
    url: `/emails/checkCode/${email}`,
    method: 'post',
    // withCredentials: true,
  
  })
}

export function checkCheckCode(email, code) {
  return request({
    url: `/emails/checkCode/${email}/${code}`,
    method: 'post',

  })
}
